<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>国内折扣</title>
    <!-- 初始化 -->
    <link rel="stylesheet" href="./css/reset.css">
    <!-- 公共样式 -->
   <link rel="stylesheet" href="./css/common.css">

    <!-- css -->
  <link rel="stylesheet" href="./css/Domesticdiscounts.css">
</head>
<body>
        <div class="view">
                <!-- 头部 -->
                <div class="mmm-top">
                    <div class="top clearfix">
                        <div class="logo">
                            <h1> < </h1>
                        </div>
                        
                        <div class="title">
                            <p>国内折扣</p>
                           
                        </div>
                        <div class="app-dow">
                            <a href='javascript:;'>
                                <img src="./images/header_app.png" alt="">
                            </a>
                        </div>
        
                    </div>
                  
                </div>

                <div class="main">
                        <div class="box">
                            <!-- <a href="javascript:;" class='sub_box'>
                                <div class="img">
                                    <img src="" alt="">
                                </div>
                                <div class="font">
                                    <p></p>
                                    <a href="javascript:;"></a>
                                    <p></p>
                                </div>
                            </a> -->
                        </div>
                    </div>
        
                <!-- 尾部 -->
                <footer>
                    <div class="foot-top">
                        <a href='javascript:;'>登录</a>
                        <a href='javascript:;'>注册</a>
                        <a href='javascript:;' class="go-top">
                            <!-- <img src="./images/gotop.jpg" alt=""> -->
                            返回顶部
                        </a>
                    </div>
                    <div class="foot-bottom">
                        <p>
                            <a href='javascript:;'>手机APP下载</a>
                            <a href='javascript:;'>慢慢买手机版</a>
                            <a href='javascript:;'> -- 掌上比价平台</a>
                        </p>
                        <p>m.manmanbuy.com</p>
                    </div>
                </footer>
        </div>
   
</body>
</html>
<script src="./lib/zepto.js"></script>
<script src="./lib/template.js"></script>
<script src="./js/htmlFontSize.js"></script>
<script src="./js/inlanddiscount.js"></script>
<script  type="text/template"id="temp">
    {{each result as val key}}
        <a href="discount.html?productId={{val.productId}}" class='sub_box'>
                <div class="img">
                    {{#val.productImg}}
                </div>
                <div class="font">
                    <p>
                        {{val.productName}}
                    </p>
                    <p>
                        {{val.productPrice}}
                    </p>
                    <p>
                        {{val.productFrom}}
                        |
                        {{val.productTime}}
                    </p>
                </div>
            </a>
    {{/each}}
</script>
